-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: bump vue to 3.3 #1327
feat: bump vue to 3.3 #1327
Conversation
Note: eslint-plugin-vue does not add |
@@ -1,6 +1,13 @@ | |||
<script setup lang="ts"> | |||
import PageMeta from '@theme/PageMeta.vue' | |||
import PageNav from '@theme/PageNav.vue' | |||
|
|||
defineSlots<{ | |||
'top'?: (props: Record<never, never>) => any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way to avoid/simplify those verbose Record<never, never>
and any
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently volar complains if props are not provided, the any is expected.
See https://blog.vuejs.org/posts/vue-3-3#typed-slots-with-defineslots and vuejs/core#7982
Done |
No description provided.